var t, e, n = require("../../../../@babel/runtime/helpers/typeof"), r = Object.getOwnPropertyNames, i = (t = {
    uvuidayjs: function(t, e) {
        var r, i;
        r = t, i = function() {
            var t = 6e4, e = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", f = "month", h = "quarter", c = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, v = {
                name: "en",
                weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
                months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
                ordinal: function(t) {
                    var e = [ "th", "st", "nd", "rd" ], n = t % 100;
                    return "[" + t + (e[(n - 20) % 10] || e[n] || e[0]) + "]";
                }
            }, M = function(t, e, n) {
                var r = String(t);
                return !r || r.length >= e ? t : "" + Array(e + 1 - r.length).join(n) + t;
            }, m = {
                s: M,
                z: function(t) {
                    var e = -t.utcOffset(), n = Math.abs(e), r = Math.floor(n / 60), i = n % 60;
                    return (e <= 0 ? "+" : "-") + M(r, 2, "0") + ":" + M(i, 2, "0");
                },
                m: function t(e, n) {
                    if (e.date() < n.date()) return -t(n, e);
                    var r = 12 * (n.year() - e.year()) + (n.month() - e.month()), i = e.clone().add(r, f), s = n - i < 0, u = e.clone().add(r + (s ? -1 : 1), f);
                    return +(-(r + (n - i) / (s ? i - u : u - i)) || 0);
                },
                a: function(t) {
                    return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
                },
                p: function(t) {
                    return {
                        M: f,
                        y: c,
                        w: o,
                        d: a,
                        D: d,
                        h: u,
                        m: s,
                        s: i,
                        ms: r,
                        Q: h
                    }[t] || String(t || "").toLowerCase().replace(/s$/, "");
                },
                u: function(t) {
                    return void 0 === t;
                }
            }, g = "en", p = {};
            p[g] = v;
            var D = function(t) {
                return t instanceof _;
            }, S = function t(e, n, r) {
                var i;
                if (!e) return g;
                if ("string" == typeof e) {
                    var s = e.toLowerCase();
                    p[s] && (i = s), n && (p[s] = n, i = s);
                    var u = e.split("-");
                    if (!i && u.length > 1) return t(u[0]);
                } else {
                    var a = e.name;
                    p[a] = e, i = a;
                }
                return !r && i && (g = i), i || !r && g;
            }, w = function(t, e) {
                if (D(t)) return t.clone();
                var r = "object" == n(e) ? e : {};
                return r.date = t, r.args = arguments, new _(r);
            }, O = m;
            O.l = S, O.i = D, O.w = function(t, e) {
                return w(t, {
                    locale: e.$L,
                    utc: e.$u,
                    x: e.$x,
                    $offset: e.$offset
                });
            };
            var _ = function() {
                function n(t) {
                    this.$L = S(t.locale, null, !0), this.parse(t);
                }
                var v = n.prototype;
                return v.parse = function(t) {
                    this.$d = function(t) {
                        var e = t.date, n = t.utc;
                        if (null === e) return new Date(NaN);
                        if (O.u(e)) return new Date();
                        if (e instanceof Date) return new Date(e);
                        if ("string" == typeof e && !/Z$/i.test(e)) {
                            var r = e.match($);
                            if (r) {
                                var i = r[2] - 1 || 0, s = (r[7] || "0").substring(0, 3);
                                return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s);
                            }
                        }
                        return new Date(e);
                    }(t), this.$x = t.x || {}, this.init();
                }, v.init = function() {
                    var t = this.$d;
                    this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), 
                    this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
                }, v.$utils = function() {
                    return O;
                }, v.isValid = function() {
                    return !(this.$d.toString() === l);
                }, v.isSame = function(t, e) {
                    var n = w(t);
                    return this.startOf(e) <= n && n <= this.endOf(e);
                }, v.isAfter = function(t, e) {
                    return w(t) < this.startOf(e);
                }, v.isBefore = function(t, e) {
                    return this.endOf(e) < w(t);
                }, v.$g = function(t, e, n) {
                    return O.u(t) ? this[e] : this.set(n, t);
                }, v.unix = function() {
                    return Math.floor(this.valueOf() / 1e3);
                }, v.valueOf = function() {
                    return this.$d.getTime();
                }, v.startOf = function(t, e) {
                    var n = this, r = !!O.u(e) || e, h = O.p(t), l = function(t, e) {
                        var i = O.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
                        return r ? i : i.endOf(a);
                    }, $ = function(t, e) {
                        return O.w(n.toDate()[t].apply(n.toDate("s"), (r ? [ 0, 0, 0, 0 ] : [ 23, 59, 59, 999 ]).slice(e)), n);
                    }, y = this.$W, v = this.$M, M = this.$D, m = "set" + (this.$u ? "UTC" : "");
                    switch (h) {
                      case c:
                        return r ? l(1, 0) : l(31, 11);

                      case f:
                        return r ? l(1, v) : l(0, v + 1);

                      case o:
                        var g = this.$locale().weekStart || 0, p = (y < g ? y + 7 : y) - g;
                        return l(r ? M - p : M + (6 - p), v);

                      case a:
                      case d:
                        return $(m + "Hours", 0);

                      case u:
                        return $(m + "Minutes", 1);

                      case s:
                        return $(m + "Seconds", 2);

                      case i:
                        return $(m + "Milliseconds", 3);

                      default:
                        return this.clone();
                    }
                }, v.endOf = function(t) {
                    return this.startOf(t, !1);
                }, v.$set = function(t, e) {
                    var n, o = O.p(t), h = "set" + (this.$u ? "UTC" : ""), l = (n = {}, n[a] = h + "Date", 
                    n[d] = h + "Date", n[f] = h + "Month", n[c] = h + "FullYear", n[u] = h + "Hours", 
                    n[s] = h + "Minutes", n[i] = h + "Seconds", n[r] = h + "Milliseconds", n)[o], $ = o === a ? this.$D + (e - this.$W) : e;
                    if (o === f || o === c) {
                        var y = this.clone().set(d, 1);
                        y.$d[l]($), y.init(), this.$d = y.set(d, Math.min(this.$D, y.daysInMonth())).$d;
                    } else l && this.$d[l]($);
                    return this.init(), this;
                }, v.set = function(t, e) {
                    return this.clone().$set(t, e);
                }, v.get = function(t) {
                    return this[O.p(t)]();
                }, v.add = function(n, r) {
                    var h, d = this;
                    n = Number(n);
                    var l = O.p(r), $ = function(t) {
                        var e = w(d);
                        return O.w(e.date(e.date() + Math.round(t * n)), d);
                    };
                    if (l === f) return this.set(f, this.$M + n);
                    if (l === c) return this.set(c, this.$y + n);
                    if (l === a) return $(1);
                    if (l === o) return $(7);
                    var y = (h = {}, h[s] = t, h[u] = e, h[i] = 1e3, h)[l] || 1, v = this.$d.getTime() + n * y;
                    return O.w(v, this);
                }, v.subtract = function(t, e) {
                    return this.add(-1 * t, e);
                }, v.format = function(t) {
                    var e = this, n = this.$locale();
                    if (!this.isValid()) return n.invalidDate || l;
                    var r = t || "YYYY-MM-DDTHH:mm:ssZ", i = O.z(this), s = this.$H, u = this.$m, a = this.$M, o = n.weekdays, f = n.months, h = function(t, n, i, s) {
                        return t && (t[n] || t(e, r)) || i[n].slice(0, s);
                    }, c = function(t) {
                        return O.s(s % 12 || 12, t, "0");
                    }, d = n.meridiem || function(t, e, n) {
                        var r = t < 12 ? "AM" : "PM";
                        return n ? r.toLowerCase() : r;
                    }, $ = {
                        YY: String(this.$y).slice(-2),
                        YYYY: this.$y,
                        M: a + 1,
                        MM: O.s(a + 1, 2, "0"),
                        MMM: h(n.monthsShort, a, f, 3),
                        MMMM: h(f, a),
                        D: this.$D,
                        DD: O.s(this.$D, 2, "0"),
                        d: String(this.$W),
                        dd: h(n.weekdaysMin, this.$W, o, 2),
                        ddd: h(n.weekdaysShort, this.$W, o, 3),
                        dddd: o[this.$W],
                        H: String(s),
                        HH: O.s(s, 2, "0"),
                        h: c(1),
                        hh: c(2),
                        a: d(s, u, !0),
                        A: d(s, u, !1),
                        m: String(u),
                        mm: O.s(u, 2, "0"),
                        s: String(this.$s),
                        ss: O.s(this.$s, 2, "0"),
                        SSS: O.s(this.$ms, 3, "0"),
                        Z: i
                    };
                    return r.replace(y, function(t, e) {
                        return e || $[t] || i.replace(":", "");
                    });
                }, v.utcOffset = function() {
                    return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
                }, v.diff = function(n, r, d) {
                    var l, $ = O.p(r), y = w(n), v = (y.utcOffset() - this.utcOffset()) * t, M = this - y, m = O.m(this, y);
                    return m = (l = {}, l[c] = m / 12, l[f] = m, l[h] = m / 3, l[o] = (M - v) / 6048e5, 
                    l[a] = (M - v) / 864e5, l[u] = M / e, l[s] = M / t, l[i] = M / 1e3, l)[$] || M, 
                    d ? m : O.a(m);
                }, v.daysInMonth = function() {
                    return this.endOf(f).$D;
                }, v.$locale = function() {
                    return p[this.$L];
                }, v.locale = function(t, e) {
                    if (!t) return this.$L;
                    var n = this.clone(), r = S(t, e, !0);
                    return r && (n.$L = r), n;
                }, v.clone = function() {
                    return O.w(this.$d, this);
                }, v.toDate = function() {
                    return new Date(this.valueOf());
                }, v.toJSON = function() {
                    return this.isValid() ? this.toISOString() : null;
                }, v.toISOString = function() {
                    return this.$d.toISOString();
                }, v.toString = function() {
                    return this.$d.toUTCString();
                }, n;
            }(), b = _.prototype;
            return w.prototype = b, [ [ "$ms", r ], [ "$s", i ], [ "$m", s ], [ "$H", u ], [ "$W", a ], [ "$M", f ], [ "$y", c ], [ "$D", d ] ].forEach(function(t) {
                b[t[1]] = function(e) {
                    return this.$g(e, t[0], t[1]);
                };
            }), w.extend = function(t, e) {
                return t.$i || (t(e, _, w), t.$i = !0), w;
            }, w.locale = S, w.isDayjs = D, w.unix = function(t) {
                return w(1e3 * t);
            }, w.en = p[g], w.Ls = p, w.p = {}, w;
        }, "object" == n(t) && void 0 !== e ? e.exports = i() : "function" == typeof define && define.amd ? define(i) : (r = "undefined" != typeof globalThis ? globalThis : r || self).dayjs = i();
    }
}, function() {
    return e || (0, t[r(t)[0]])((e = {
        exports: {}
    }).exports, e), e.exports;
})();

exports.dayjs = i;